define(['app'], function(app) {
	'use strict';

	//实例化方法
	var factory = function(Http) {

		//返回信息
		return {
			//规则和详情
			get_description:function(goods_id,act_id,callbcak){
				Http.post({
					method:'goods.test.descriptionandrule',
					goods_id:goods_id,
					act_id:act_id
				},function(result){
					if(callbcak)
						callbcak(result);
				})
			}
		
		
		};
	}

	factory.$inject = ['Http'];
	return app.registerService("Newpropromotions_info", factory);
});